/******************************************************************************************
 * Data Structures in C++
 * ISBN: 7-302-33064-6 & 7-302-33065-3 & 7-302-29652-2 & 7-302-26883-3
 * Junhui DENG, deng@tsinghua.edu.cn
 * Computer Science & Technology, Tsinghua University
 * Copyright (c) 2003-2019. All rights reserved.
 ******************************************************************************************/

/*
 * 锟斤拷锟叫接匡拷
 */

package dsa;

public interface Queue {
   public int getSize();//锟斤拷锟截讹拷锟斤拷锟斤拷元锟斤拷锟斤拷目
   public boolean isEmpty();//锟叫断讹拷锟斤拷锟角凤拷为锟斤拷
   public Object front()//取锟斤拷锟斤拷元锟截ｏ拷锟斤拷锟斤拷删锟斤拷锟斤拷
   throws ExceptionQueueEmpty;
   public void enqueue(Object obj)
   throws ExceptionQueueFull;//锟斤拷锟
   public Object dequeue()//锟斤拷锟斤拷
   throws ExceptionQueueEmpty;
   public void Traversal();//锟斤拷锟斤拷
}